package com.icinfo.cloud.provider.common.dto;

import lombok.Data;

/**
 * ocr结果集
 *
 * @author yunchao.peng
 * @create 2023-08-30 9:13
 */
@Data
public class OcrData {


    /**
     * end_offset : 10
     * id : 72
     * label : 性别
     * start_offset : 9
     * entity : 男
     */

    private int endOffset;
    private int id;
    private String label;
    private int startOffset;
    private String entity;

    public OcrData(String label, String entity) {
        this.label = label;
        this.entity = entity;
    }

    public int getEndOffset() {
        return endOffset;
    }

    public void setEndOffset(int endOffset) {
        this.endOffset = endOffset;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getStartOffset() {
        return startOffset;
    }

    public void setStartOffset(int startOffset) {
        this.startOffset = startOffset;
    }

    public String getEntity() {
        return entity;
    }

    public void setEntity(String entity) {
        this.entity = entity;
    }
}
